﻿package  
{
	import flash.display.DisplayObject;
	import flash.geom.Rectangle;
	/**
	 * ...
	 * @author ml
	 */
	public class RollableStripItem
	{
		private var $graphic:DisplayObject;
		public function get graphic():DisplayObject{
			return $graphic;
		}
		private var data:Object;
		private var $positioning:Rectangle;
		public function get positioning():Rectangle{
			return ($positioning == null) ? new Rectangle(0, 0, graphic.width, graphic.height) : $positioning;
		}
		
		public function RollableStripItem(_graphic:DisplayObject, _data:Object = null) 
		{
			$graphic = _graphic;
			data = _data;
		}
		
		public function show(newState:Boolean = true):void{
			//graphic.visible = newState;
		}
	}
}